package com.xiaohei.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaohei.crm.common.result.Result;
import com.xiaohei.crm.dao.Role;

/**
 * ClassName: RoleService
 * Package:
 * Description:
 *
 * @Author:xiaohei
 * @Create 2024/6/22 14:32
 * Version 1.0
 */
public interface RoleService extends IService<Role> {
    Result<IPage> findByPage();

    void saveRole(Role role);

    void updateByRoleId(Role role);

    void deleteById(String id);
}
